<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" href="/css/master.css">
		<link rel="stylesheet" href="/css/public.css">
		<link rel="stylesheet" href="/css/hall.css">
		<link rel="stylesheet" href="/css/home.css">
		<link rel="stylesheet" href="/css/search.css">
		<link rel="stylesheet" href="/css/login.css">
		<link rel="stylesheet" href="/css/loading.css">
		<link rel="stylesheet" href="/css/register.css">
		<link rel="stylesheet" href="/css/scene.css">
		<link rel="stylesheet" href="/iconfont/iconfont.css">
		<link rel="stylesheet" href="/css/area.css">
		<title><?php echo $__env->yieldContent('title'); ?></title>
		<script type="text/javascript" src="/js/jquery-1.10.2.js"></script>
		<script type="text/javascript" src="/js/jquery.validate-1.13.1.js"></script>
		<script src="/js/admin/layer.js"></script>
		<script src="/js/admin/dialog.js"></script>
		<script type="text/javascript" src="/js/hall.js"></script>
		<script type="text/javascript" src="/js/home.js"></script>
		<script type="text/javascript" src="/js/search.js"></script>
		<script type="text/javascript" src="/js/scene.js"></script>
		<script type="text/javascript" src="/js/area.js"></script>
		<script type="text/javascript">
            $.ajaxSetup({
                headers: { 'X-CSRF-TOKEN' : '<?php echo e(csrf_token()); ?>' }
            });
		</script>
		<script type="text/javascript" src="/js/login.js"></script>
		<script type="text/javascript" src="/js/register.js"></script>
		<style>
			.content{
				width: 1200px;
				margin: auto;
			}
		</style>
	</head>
	<body>
		<?php echo $__env->make('widget.loading',['loading_word'=>$loading_word], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
		
		<div id="i-head">
			<div class="t-content clearfix">
				<p class="t-left">
					<?php if(Auth::check()): ?>
						<span>你好！</span>
						<a href="#" style="margin-right: 10px;"><?php echo e(Auth::user()->display_name); ?></a>
						<a onclick="logout()" style="cursor: pointer;">退出</a>
					<?php else: ?>
						<a href="/index.php/auth/login">登录</a>
						<a href="/index.php/auth/regist">注册</a>
					<?php endif; ?>
				</p>
				<ul class="t-right">
					<li><a class="item" href="#">收藏本站</a></li>
					<li><a class="item" href="#">联系我们</a></li>
					<li class="t-micro-blog"><a class="item" href="#">官方微博</a></li>
					<li class="t-WeChat">
						<a class="item" href="#">微信我们</a>
						<div class="t-qrcode">
							<img src="/imgs/ewm.png" alt="">
						</div>
					</li>
					<li class="t-nav">
						<a class="t-nav-bg item" href="#">网站导航</a>
						<div class="t-nav-show">
							<ul>
								<li class="t-list">
									<a href="#">酒店预订</a>
									<a href="#">目的地</a>
								</li>
								<li class="t-list">
									<a href="#">租车</a>
									<a href="#">景点</a>
								</li>
								<li class="t-list">
									<a href="#">攻略</a>
									<a href="#">相册</a>
								</li>
								<li class="t-list">
									<a href="#">签证</a>
									<a href="#">团购</a>
								</li>
								<li class="t-list">
									<a href="#">私人订制</a>
									<a href="#">四川旅游</a>
								</li>
								<li class="t-list">
									<a href="#">景点测试</a>
								</li>
							</ul>
						</div>
					</li>
				</ul>
			</div>
		</div>
		<?php echo $__env->yieldContent('all'); ?>
		
		<div class="content"><?php echo $__env->yieldContent('content'); ?></div>
		
		<div id="i-footer">
			<div class="t-footer-top">
				<ul class="clearfix">
					<li>
						<p class="t-title"><a href="#">预定常见问题</a></p>
						<p><a href="#">纯玩是什么意思？</a></p>
						<p><a href="#">单方差是什么？</a></p>
						<p><a href="#">满意度是怎么计算的？</a></p>
						<p><a href="#">纯玩是什么意思？</a></p>
					</li>
					<li>
						<p class="t-title"><a href="#">预定常见问题</a></p>
						<p><a href="#">纯玩是什么意思？</a></p>
						<p><a href="#">单方差是什么？</a></p>
						<p><a href="#">满意度是怎么计算的？</a></p>
						<p><a href="#">纯玩是什么意思？</a></p>
					</li>
					<li>
						<p class="t-title"><a href="#">预定常见问题</a></p>
						<p><a href="#">纯玩是什么意思？</a></p>
						<p><a href="#">单方差是什么？</a></p>
						<p><a href="#">满意度是怎么计算的？</a></p>
						<p><a href="#">纯玩是什么意思？</a></p>
					</li>
					<li>
						<p class="t-title"><a href="#">预定常见问题</a></p>
						<p><a href="#">纯玩是什么意思？</a></p>
						<p><a href="#">单方差是什么？</a></p>
						<p><a href="#">满意度是怎么计算的？</a></p>
						<p><a href="#">纯玩是什么意思？</a></p>
					</li>
					<li>
						<p class="t-title"><a href="#">预定常见问题</a></p>
						<p><a href="#">纯玩是什么意思？</a></p>
						<p><a href="#">单方差是什么？</a></p>
						<p><a href="#">满意度是怎么计算的？</a></p>
						<p><a href="#">纯玩是什么意思？</a></p>
					</li>
					<li class="t-follow">
						<span>微信关注我</span>
					</li>
				</ul>
			</div>
			<div class="t-footer-bottom">
				<p class="t-about">
					<a href="#">关于我们</a>
					<a href="#">技术支持</a>
					<a href="#">联系我们</a>
					<a href="#">隐私保护</a>
					<a href="#">支付方式</a>
					<a href="#">法律声明</a>
				</p>
				<p>公司名称：思途智旅 公司网站：www.stourweb.com 联系电话：4006-0999-27 地址：四川省成都市高新区益州大道中段1858号软件园G区5栋1号楼22楼1号 备案号：蜀ICP备 08009168号-6 思途软件著作权登记证号：</p>
				<p>2016SR069268 思途商标注册号：18797301/18797216 版权信息：Copyright © 2007-2016 Stourweb. All Rights Reserved.</p>
				<p>技术支持：<span>思途CMS</span></p>
			</div>
		</div>
		
	</body>
<script>
    function logout() {
        $(".t-loading-word").html('退出中');
        $(".t-loading").show();
            var Url = '/index.php/auth/logout';
            $.ajax({
                type:"post",
                data:{},
                url:Url,
                dataType:"json",
                success:function(data){
                    setTimeout(function () {
                        if(data.res==1){
                            var _url='/';
                            $(".t-loading").hide();
                            location.href = '/';
                        }else{
                        }
                    },1000);
                }
        });
    }
</script>
</html>